package com.egg.system.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.egg.system.pojo.User;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author Egg
 * @since 2021-09-08
 */
public interface UserService extends IService<User> {

    IPage<User> queryUserPage(Page<User> page, QueryWrapper<User> wrapper);

    /**
     * 添加用户
     * @param user 用户对象
     */
    void saveUser(User user);

}
